import request from '@/utils/request.js'

// 获取字典数据
export const getDicts = (dictType, query) => request.get('/api/dictData', {
  type: dictType,
  ...query
})